import axios from './request'

// 获取统计分析变量列表
export const getNomalData = params => axios.get('/acc/varName/list',{params})
.then(e=>{
	console.log(e.data[0])
	return { data:e.data.slice(0,10)}
})
// 获取绘图数据
export const getDistributionDrawData = params => axios.get('/acc/distribution/bar',{params})

// 获取服务器路径
export const getRemoteFile = params => axios.get('/remote/file',{params})

// 获取绘图数据
export const getEvaluateDrawData = params => axios.get('/acc/evaluate/bar',{params})

// 两个变量相关性
export const getvariablesTwo = params => axios.get('/acc/relation/scatter',{params})

// 多个变量相关性
export const getvariablesMore = params => axios.get('/acc/relation/heatmap',{params})
